package com.ruoyi.system.xcenter;

public interface IEndPoint {
    /**
     * 将数据推送到终端
     * @param body
     */
    Object dataUpload(EPContext context,Object body,Integer type) throws Exception;

    /**
     * 从终端获取数据
     * @param request
     */
    Object dataDownload( EPContext context,Object request, Integer type) throws Exception;
}
